<?php

class content_article_complier {

    function compile_widgets($tag_args, &$smarty) {
        if ($tag_args['id']) {
            $id = ',' . $tag_args['id'];
        }
        return '$s=$this->_files[0];
        $i = intval($this->_wgbar[$s]++);
        echo \'<div class="shopWidgets_panel" base_file="\'.$s.\'" base_slot="\'.$i.\'" base_id=' . $tag_args['id'] . '  >\';
        kernel::single(\'site_theme_widget\')->admin_load($s,$i' . $id . ');echo \'</div>\';';
    }
}//End Class
